//
//  RHPerson+Extension.m
//  CreditAddressBook
//
//  Created by LE on 15/11/18.
//  Copyright © 2015年 Lee. All rights reserved.
//

#import "RHPerson+Extension.h"
#import "CYABTool.h"

@implementation RHPerson (Extension)

- (void)setFormatterPhones:(NSArray *)formatterPhones {
    
}

- (NSArray *)formatterPhones {
    NSMutableArray *phones = [NSMutableArray array];
    for (NSString *phone in self.phoneNumbers.values) {
        [phones addObject:[CYABTool formatPhoneNumber:phone]];
    }
    return phones;
}
@end
